<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
		<title>title</title>
		<link rel="stylesheet" type="text/css" href="../css/api.css"/>
		<link rel="stylesheet" type="text/css" href="../css/aui.css"/>
		<style>
			body {
				width: 100%;
				height: 100%;
			}
			.register_bg {
				width: 100%;
				height: 100%;
				background: url("../image/images/suc_bg.png") no-repeat;
				background-size: 100%;
				-webkit-background-size: 100%;
				position: absolute;
				top: 0;
				left: 0;
			}
			.Wrap {
				width: 100%;
				min-height: 100%;
				text-align: center;
				opacity: 0.9;
				position: absolute;
				top: 0;
				left: 0;
			}
			.register_content {
				width: 100%;
				min-height: 100%;
				text-align: center;
			}
			#logo {
				margin: 17% 37%;
			}
			#logo img {
				width: 6em;
			}
			.register_tit {
				margin-top: 45%;
			}
			.register_tit p {
				color: #000;
			}
		</style>
	</head>
	<body>
		<div class="register_bg"></div>
		<div class="Wrap">
			<div class="register_content">
				<div id="logo">
					<img src="../image/images/zc.png">
				</div>
			</div>
			<div class="register_tit">
				<p>
					恭喜您注册成功
				</p>
			</div>
			<div class="aui-content aui-content-padded">
				<p>
					<div class="aui-btn aui-btn-info aui-btn-block ps" tapmode onclick="openWin('login')">
						立即登录
					</div>
				</p>
			</div>
		</div>
	</body>
	<script type="text/javascript" src="../script/api.js"></script>
	<script type="text/javascript" src="../script/ajax/common.js"></script>
	<script type="text/javascript">
		function openWin(name) {
			var delay = 0;
			if (api.systemType != 'ios') {
				delay = 300;
			}
			
			api.openWin({
						name : 'login_win',
						url : 'login_win.html?t=' + new Date().getTime(),
						bounces : false,
						slidBackEnabled : false,
						vScrollBarEnabled : false
					});
			
			/*
			var username = $api.getStorage("username");
			var password = $api.getStorage("password");
			//    alert(base_url);
			api.ajax({
				url : base_url + 'app/server/login',
				method : 'post',
				data : {
					values : {
						userName : username,
						password : password
					}
				}
			}, function(ret, err) {
				if (ret.code === 0 && ret.userInfo) {
					var user = ret.userInfo;
					$api.setStorage("userInfo", user);
					$api.setStorage("username", username);
					$api.setStorage("password", password);
					api.openWin({
						name : 'main1_win',
						url : 'main1_win.html?t=' + new Date().getTime(),
						bounces : false,
						slidBackEnabled : false,
						vScrollBarEnabled : false
					});
				} else {
					api.alert({
						title : '登录信息',
						msg : ret.msg,
						buttons : ['确定']
					});
				}
			});
			*/
		}

		apiready = function() {
		};
	</script>
</html>